# -*- coding = utf-8 -*-
# @Time    : 2025/4/2 下午5:28
# @Author  : yqk
# @File    : test2.py
# @Software: PyCharm

import os

pic_addr = r'D:\python-code\python-spider\py-spider\02-python爬虫进阶\day15\图片\douban2.png'
if os.path.exists(pic_addr):
    print("图片文件存在")
else:
    print("图片文件不存在")
